package cn.lingyangwl.agile.system.model.mq;

import cn.lingyangwl.agile.model.module.mq.*;
import cn.lingyangwl.agile.system.model.entity.*;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * @author shenguangyang
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ResourceSyncMQ extends BaseMqPayload {
    public static final String EXCHANGE_INIT = "resource_sync_init";
    public static final String EXCHANGE_REFRESH = "resource_sync_refresh";
    public static final String QUERY_NOTICE_INIT = "module_notice_init";
    // 初始化key, 从需要的地方发起
    public static final String KEY_NOTICE_INIT = "notice_init";
    // 刷新key, 从system服务发起
    public static final String KEY_NOTICE_REFRESH = "";

    /**
     * 资源访问模块
     */
    private List<RamModule> ramModuleList;
}
